{include file="header.tpl"}	

<div id="artsav_main_content">
<div class="top">
<div class="bottom">
<div class="left">
<div class="right">
<div class="left_top">
<div class="left_bottom">
<div class="right_top">
<div class="right_bottom">
<div class="inside">

			<!--If invalid page url-->
			{if $invalid_page}
				<table width="100%">
					<tr><td><font color="red">Invalid Page!</font></td></tr>
				</table>
			{elseif $face2face}
<div class='content'>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
{$face2face_content}

			{elseif $post2wall}
<div class='content'>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
{$post2wall_content}

			{elseif $view_profile}

<div class='content'>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top">


<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='profile_leftside' width='200'>

    <table cellpadding='0' cellspacing='0' width='100%' style='margin-bottom: 10px;'>
  <tr>
  <td class='profile_photo'>{$user_avatar}</td>
  </tr>
  </table>

{$user_actions}
<div id="leftcolumn">
 			{if $friends!=''}
      {$friends}
      {/if}           
      
      {if $online_friends!=''}
      {$online_friends}
      {/if}    
</div>

    </td>
  <td class="profile_rightside">
          <div class="page_header" style="float:left; width: 80%;">{$user_name}</div>   
          {$offline}     
          <div id="status_ajax_loader" style="float:right; display:none; padding: 5px;"><img src="{$currentPage}/application/images/ajax-loader.gif"></div>
          
<div class="status" style="float:left;">
	<div class="status2">
		<p id="current_status">
<span id="screen_status_change_div" style="display:none;" align="left">{$screen_select}&nbsp; <a href="javascript: void(0);" style="text-decoration:none;" onClick="changeUserStatus('{$profile_id}','{$currentPage}','clear');">Видалити статус</a> <font style="color: #ccc;">|</font> <a href="javascript: void(0);" style="text-decoration:none;" onclick="close_div('screen_status_change_div');show_div('screen_status_div');">Скасувати</a></span>
<div id="screen_status_div">{$user_status}</div>
		</p>

			</div>
</div>

<div style="float:left; width: 100%;">
     <table cellpadding="0" cellspacing="0">
    <tbody><tr>
    <td valign="bottom"><table cellpadding="0" cellspacing="0"><tbody><tr><td class='profile_tab2' id='profile_tabs_profile' onMouseUp="this.blur()"><a href='javascript:void(0);' onMouseDown="loadProfileTab('profile')" onMouseUp="this.blur()">Інформація</a></td></tr></tbody></table></td>
{if $wall_post!=''}<td valign='bottom'><table cellpadding='0' cellspacing='0'><td class='profile_tab' id='profile_tabs_wall' onMouseUp="this.blur()"><a href='javascript:void(0);' onMouseDown="loadProfileTab('wall');" onMouseUp="this.blur()">Стіна&nbsp;{$count_wall_msg}</a></td></tr></table></td> {/if}
        
    <td class="profile_tab_end" width="100%">&nbsp;</td>
    </tr>

    </tbody></table>

<!-- tab -->
 <div class='profile_content'>
 <div id='profile_profile'>
<table cellpadding="0" cellspacing="0" class="profile_info_table">
<tbody>
 {$user_basic_info}
 {$personalInfo}
{$user_information}
{$eduInfo}
{$work_information}
</tbody>
</table>
</div>

<!-- tab end -->
{if $wall_post!=''}       
       <!-- tab -->
 <div id='profile_wall' style='display: none;'>
{$wall_post}
</div>
{/if} 
<!-- tab end -->      
                
                     
  
                
   </div><!-- float end -->                   
</div>             
                  
    </div>
  </div>

</td>
</tr>
</table>
   
			{/if}
			
    </td>
  </tr>
</table>
</div>

</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

{include file="footer.tpl"}